/*
io.h
offer agv board io config and driver  api
designed by lunanting

------------------------------
2020-05-24 15:42:22
create file
------------------------------
*/
#ifndef __AGVIO_H
#define __AGVIO_H

#include "../bsp/base_type.h"
#include "aos/hal/gpio.h"



/******************************io init ******************************/
extern void xp_agv_io_init(u8 default_state);   //agv io config and init
extern void xp_agv_io_set(const u8 num,u8 state);   //agv board set DO
extern int xp_agv_io_read(const u8 num);    //agv board DI io read

extern int xp_agv_io_debug(char *type,char *fun,char *param);   //agv io debug


#endif
//end of the file
